package com.func.domain.credit.service;

import com.func.domain.credit.model.entity.CreditAccountEntity;
import com.func.domain.credit.model.entity.TradeEntity;

/**
 * <p>
 * ICreditAdjustService
 * </p>
 *
 * @author Simon
 * @version 2025.03.23.1.0.0
 * @description 积分调额接口 [正逆向, 增减积分]
 * @since 2025-03-23
 */

public interface ICreditAdjustService {

    /**
     * 创建增加积分额度订单
     * @param tradeEntity 交易实体对象
     * @return 单号
     */
    String createOrder(TradeEntity tradeEntity);

    CreditAccountEntity queryUserCreditAccount(String userId);
}
